
@media (min-width: 992px)  {
    .swiper.newsSwiper{
        width: 100%;
        height: 100%;
    --swiper-pagination-color: #fff;
    --swiper-pagination-bullet-inactive-color: white;

}
    .swiper-pagination.newsSwiper-pagination{
        display: flex;
        justify-content: flex-end;
        padding: 1.2rem;
    }
    .swiper-slide.newsSwiper-slide span:first-child{
        font-size: 0.75rem;
      }
      .swiper-slide.newsSwiper-slide span:nth-child(2){
        font-size: 20px;
        max-width: 70%;
        text-indent: 0px;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
      }
      .swiper-slide-item.newsSwiper-slide-item{
        background-color: rgba(0,0,0,0.4);
        padding: 0.75rem 1.5rem;
        display: flex;
        height: 4.5rem;
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
      }
    
}
@media (max-width: 992px) {
    .swiper.newsSwiper{
        width: 100%;
        height: 60vw;
        padding-bottom: 42px;
        --swiper-pagination-color: var(--primary-blue);
        --swiper-pagination-bullet-inactive-color: rgba(0,0,0,0.2);
    }
    .swiper-pagination.newsSwiper-pagination{
        display: flex;
        justify-content: center;
        padding: 1.2rem;
        bottom: -10px;
    }
    .swiper-slide.newsSwiper-slide span:first-child{
        font-size: 12px;
      }
    .swiper-slide.newsSwiper-slide span:nth-child(2){
        font-size: 14px;
        max-width: 70%;
        text-indent: 0px;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }

    .swiper-slide-item.newsSwiper-slide-item{
        background-color: rgba(0,0,0,0.4);
        padding: 12px 16px;
        display: flex;
        height: 4.5rem;
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
      }
}

  .swiper-slide.newsSwiper-slide {
    text-align: center;
    font-size: 0.85rem;
    object-fit: cover;
    background-size: cover;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    color: white;
    
  }
  .swiper-slide.newsSwiper-slide:hover{
    text-decoration: none; /* 去除悬停时的下划线 */
  }
  .swiper-slide.newsSwiper-slide{
    text-decoration: none; /* 去除下划线 */
  }
  .swiper-slide.newsSwiper-slide:focus,
  .swiper-slide.newsSwiper-slide:active{
    outline: none; /* 去除点击时的蓝色边框 */
  }

  

  .swiper-slide.newsSwiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .custom-pagination{
    flex-wrap: nowrap;

  }
  .custom-pagination-item{
    color: var(--primary-text-black);
    background-color: white;
    transition: .3s;
    border-radius: 0px;
  }
  .custom-pagination-item>span:first-child{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80%;
    text-align: left;
  }
  .custom-pagination-item>span{
    white-space: nowrap;
  }
  .custom-pagination-item>span:last-child{
    white-space: nowrap;
    font-size: 14px;
    color: var(--primary-text-black2);
    transition: .3s;
  }
  .custom-pagination-item.active{
    background-color: var(--primary-green);
    color: white;
  }
  .custom-pagination-item.active>span:last-child{
    color: white;
  }
  .custom-pagination a:last-child{
    border-bottom: none;
  }

  
.news-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 24px;
  }
  .news-option.head {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  